<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // var week =Number(prompt('输入内容'));
        var week =90;
        console.log(week)
        switch(week){
            case week>80&&week<=90: console.log("星期一");
            break
            case week=2: console.log("星期二");
            break
            default: console.log("出错")
        }
        var num = 0
        while(num < 10){
            num++;
            document.write(num)

        }
    </script>
</body>
</html>